/**
 * Copyright (c) mbaobao.com 2011 All Rights Reserved.
 */
package com.jisheng.xb.core.monitor;

import java.io.Serializable;
import java.util.Date;

/**
 *                       
 * @Filename: ExecutionLog.java
 * @Version: 1.0
 * @Author: 丛峰
 * @Email: 3024992@qq.com
 *
 */
public class ExecutionLog implements Serializable{

    /**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	public static enum Type {
        dao,model,service,web,webservice,job
    }
    
    private Integer id;
    private Type type;
    private String code;
    private Date requestTime;
    private String requestFrom;
    private Date responseTime;
    private Long elapsedTime;
    private String requestMsg;
    private String responseMsg;
    private String exceptionMsg;
    public Integer getId() {
        return id;
    }
    public void setId(Integer id) {
        this.id = id;
    }
    public Type getType() {
        return type;
    }
    public void setType(Type type) {
        this.type = type;
    }
    public String getCode() {
        return code;
    }
    public void setCode(String code) {
        this.code = code;
    }
	public String getRequestFrom() {
		return requestFrom;
	}
	public void setRequestFrom(String requestFrom) {
		this.requestFrom = requestFrom;
	}
	public Date getRequestTime() {
        return requestTime;
    }
    public void setRequestTime(Date requestTime) {
        this.requestTime = requestTime;
    }
    public Date getResponseTime() {
        return responseTime;
    }
    public void setResponseTime(Date responseTime) {
        this.responseTime = responseTime;
    }
    public Long getElapsedTime() {
        return elapsedTime;
    }
    public void setElapsedTime(Long elapsedTime) {
        this.elapsedTime = elapsedTime;
    }
    public String getRequestMsg() {
        return requestMsg;
    }
    public void setRequestMsg(String requestMsg) {
        this.requestMsg = requestMsg;
    }
    public String getResponseMsg() {
        return responseMsg;
    }
    public void setResponseMsg(String responseMsg) {
        this.responseMsg = responseMsg;
    }
    public String getExceptionMsg() {
        return exceptionMsg;
    }
    public void setExceptionMsg(String exceptionMsg) {
        this.exceptionMsg = exceptionMsg;
    }
    
}
